export default {
  QueryRateLimitManageList({
    commit
  }, param) {
    return window.$http
      .get(`${window.RPConfig.gw}/rateLimitMgt/list`)
      .then(response => response && response.data);
  },
  SaveRateLimitManage({
    commit
  }, param) {
    return window.$http
      .post(`${window.RPConfig.gw}/rateLimitMgt/saveOrUpdate`, param)
      .then(response => response && response.data);
  },
  DeleteRateLimitManage({
    commit
  }, param) {
    return window.$http
      .post(`${window.RPConfig.gw}/rateLimitMgt/del?id=` + param.id, param)
      .then(response => response && response.data);
  },
};